#include "data.h"
#pragma once
typedef struct _LinkedList list;
struct _LinkedList {
	list* head;
	userdata data;
	list* next;
};
list* list_create();
list* list_append(list** last, userdata* data);
list* list_insert(list* head, userdata* data, int n);
userdata* list_returnData(list* head, int n);
void list_change(list* head, userdata* data, int n);
void remove(list* head, int n);
void list_free(list* head);